require.config({
	baseUrl:"./js/lib",
	paths:{
		"jquery":["jquery-1.11.1.min"],
		"jquery.validate":["jquery.validate"],
		"additional-methods":["additional-methods"],
		"register":["../register"],
		"idcode":["jquery.idcode"]
	},
	//非模块的要加依赖
	shim:{
		idcode:{
			deps:["jquery"],
		}
	}
});


//使用模块
require(["register","jquery"],function(register,$){
	register.reg();
	register.yzm();
})
